using System;
using System.Text.RegularExpressions;

namespace libntregsharp
{
	public class LFBlock : IKey
	{
		private Regex _regex;
		
		public LFBlock ()
		{
		}
		
		public LFBlock (string data)
		{
		}
		
		public int EntryLength { get; private set; }
		
		public int NumberOfSubkeys { get; private set; }
		
		public int SubkeyOffset { get; private set; }
		
		public char[] FirstFourSubkeyCharacters { get; private set; }
		
		
		public int OffsetFromZero { get; set; }
		
		public Regex Regex 
		{
			get
			{
				if (_regex == null)
					_regex = new Regex (@".{4}l[f|h][0-65535]"); //lf or lh on winxp
				
				return _regex;
			}
		}
		
	}
}

